package com.zly.android.aidl.sample

import android.app.Service
import android.content.Intent
import android.os.IBinder

class RemoteService:Service() {
    val binder=object :IRemoteService.Stub(){
        override fun basicTypes(
            anInt: Int,
            aLong: Long,
            aBoolean: Boolean,
            aFloat: Float,
            aDouble: Double,
            aString: String?
        ) {

        }


        override fun test(arg1: Int): Boolean {
           return false
        }


    }
    override fun onBind(intent: Intent?): IBinder? {

        return binder
    }
}